<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script type="text/javascript">
        var num = -0.6;
        console.log(Math.abs(num));
        console.log(Math.floor(num));
        console.log(Math.ceil(num));
        console.log(Math.round(num));
        console.log(Math.random(num));
    </script>
</body>

</html>